package com.neo.exception;

import java.io.PrintWriter;
import java.io.StringWriter;

public class ExceptionStackTrace {
	
	public static String getExceptionInfo(Exception e) {
		
		StringWriter sw = new StringWriter();  
        PrintWriter pw = new PrintWriter(sw);  
        e.printStackTrace(pw);
		return sw.toString();
	}

}
